package View;

import java.awt.Image;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

import javax.swing.ImageIcon;

public class OsterEiVC extends JImageComponent{
	
	private Image gefundenImage;
	private FileInputStream song;
	
	public OsterEiVC(Image image, int x, int y,String songName) throws FileNotFoundException {
		super(image, x, y);
		this.gefundenImage=new ImageIcon("src/Image/hsrmEiPlay.gif").getImage();
		this.song=new FileInputStream(new File(songName));
	}
	
	public OsterEiVC(String imageName, int x, int y,String songName) throws FileNotFoundException {
		super(imageName, x, y);
		this.gefundenImage=new ImageIcon("src/Image/hsrmEiPlay.gif").getImage();
		this.song=new FileInputStream(new File(songName));
	}

	public Image getGefundenImage() {
		return gefundenImage;
	}


	
}
